<div class="sym_gallery_{&what}">
    <div class="message ui-widget ui-corner-all"></div>
    <form>
        <div><label>Name:</label><input type="text" class="name" value="{&gallery_name}" /></div>
        <div class="tabs">
            <ul>
                {&languages}
            </ul>
            {&infos}
        </div>
        <div><label>Image:</label><input id="sym_gallery_{&what}_image" name="image" type="file" class="cover" /></div>
        <div><label>Category:</label><select class="parent">{&categories}</select></div>
    </form>
</div>
{&info=}
<div id="sym_gallery_{&what}_{&abbr}">
    <div><label>Title:</label><input type="text" class="title" title="{&abbr}" value="{&title}" /></div>
    <div><label>Description:</label><textarea class="description" title="{&abbr}">{&content}</textarea></div>
</div>
{/&info}
{&language=}<li><a href="#sym_gallery_{&what}_{&abbr}">{&abbr}</a></li>{/&language}
{&category=}<option value="{&id}" style="background-color: {&background}" {if({&id}=={&parent_id})}selected="selected"{/if}>{&prefix}{&title}</option>{&child}{/&category}